What library should I use for 2D Geometry? [closed]

Posted by Luka on Game Development See other posts from Game Development or by Luka
Published on 2012-10-23T23:53:46Z Indexed on 2012/10/24 5:28 UTC
Read the original article Hit count: 247

Filed under:
|
|

I've been working on a 2D game in java, but found that java just didn't cut it for me and had forced me to a lot of bad design choices, so I've decided to port all my work to c++.

The main reason I've decided change to c++ is that i had reached a point where i had 3 geometry libraries (the native, one from the game engine and one to handle "complex" polygons), none of witch worked very well together and i couldn't keep track of them.

I'm new to c++, but i know all the basics. My question is, what would be a good geometry library to use, ideally it should be able to handle integer and decimal data types, have point, line, and polygon classes witch are able to check for intersection and contains.

Thanks in advance, Luka

© Game Development or respective owner

Related posts about c++

Related posts about opengl